package com.flyco.modules.task.controller;

import com.flyco.common.api.vo.Result;
import com.flyco.modules.task.service.SapTaskService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.Tag;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;


/**
 * @Author hui_li
 * @Date 2024/1/25 16:58
 * @Version 1.0
 */
@Api(tags = "sap任务接口")
@RestController
public class SapTaskController {
    @Resource
    private SapTaskService sapTaskService;

//    @PostMapping("/system-task/to-sap/product-stock")
//    @ApiOperation("通过接口获取商品库存并更新")
//    public Result toSapStock() {
//        sapTaskService.toSapStock();
//        return Result.ok();
//    }
//
//    @PostMapping("/system-task/to-sap/store")
//    @ApiOperation("通过接口获取商品库存并更新")
//    public Result toSapStore() {
//        sapTaskService.toSapStore();
//        return Result.ok();
//    }

}
